inherited frmMateriaPri: TfrmMateriaPri
  Left = 239
  Top = 112
  Width = 573
  Height = 591
  AutoScroll = True
  Caption = ''
  PixelsPerInch = 96
  TextHeight = 13
  inherited Panel1: TPanel
    Top = 522
    Width = 565
    Height = 35
  end
  inherited Panel2: TPanel
    Width = 565
    Height = 522
    inherited Panel3: TPanel
      Width = 563
      Caption = 'Mat'#233'ria-prima'
      inherited GroupBox1: TGroupBox
        Left = 484
      end
    end
    inherited Panel4: TPanel
      Width = 563
      Height = 480
      object Label1: TLabel [0]
        Left = 9
        Top = 8
        Width = 33
        Height = 13
        Caption = 'Codigo'
      end
      object Label2: TLabel [1]
        Left = 137
        Top = 7
        Width = 48
        Height = 13
        Caption = 'Descri'#231#227'o'
      end
      object Label3: TLabel [2]
        Left = 511
        Top = 8
        Width = 40
        Height = 13
        Caption = 'Unidade'
      end
      object Label18: TLabel [3]
        Left = 9
        Top = 45
        Width = 67
        Height = 13
        Caption = 'Data cadastro'
      end
      object Label4: TLabel [4]
        Left = 82
        Top = 45
        Width = 31
        Height = 13
        Caption = 'Se'#231#227'o'
      end
      object Label12: TLabel [5]
        Left = 431
        Top = 45
        Width = 52
        Height = 13
        Caption = 'Refer'#234'ncia'
      end
      object Label6: TLabel [6]
        Left = 11
        Top = 82
        Width = 30
        Height = 13
        Caption = 'Marca'
      end
      object Label8: TLabel [7]
        Left = 10
        Top = 118
        Width = 75
        Height = 13
        Caption = 'P'#231'o.Compra R$'
      end
      object Label9: TLabel [8]
        Left = 124
        Top = 118
        Width = 66
        Height = 13
        Caption = 'P'#231'o.Custo R$'
      end
      inherited DBGrid1: TDBGrid
        Top = 263
        Width = 555
        TabOrder = 17
      end
      inherited SbHints: TStatusBar
        Top = 457
        Width = 555
      end
      object EdtEstCodigo: TDBEdit
        Left = 9
        Top = 21
        Width = 121
        Height = 21
        Hint = 'Infomar o codigo da materia prima '
        CharCase = ecUpperCase
        DataField = 'PMP_CODIGO'
        DataSource = DtSrc
        Enabled = False
        ParentShowHint = False
        ShowHint = True
        TabOrder = 1
        OnExit = EdtEstCodigoExit
      end
      object EdtEstDescri: TDBEdit
        Left = 135
        Top = 21
        Width = 381
        Height = 21
        Hint = 'Informe a descri'#231#227'o da materia prima '
        CharCase = ecUpperCase
        DataField = 'PMP_DESCRI'
        DataSource = DtSrc
        Enabled = False
        ParentShowHint = False
        ShowHint = True
        TabOrder = 2
      end
      object EdtEstUnidad: TDBEdit
        Left = 520
        Top = 21
        Width = 32
        Height = 21
        Hint = 'Infome a unidade de controle do produto'
        CharCase = ecUpperCase
        DataField = 'PMP_UNIDAD'
        DataSource = DtSrc
        Enabled = False
        ParentShowHint = False
        ShowHint = True
        TabOrder = 3
      end
      object EdtEstDatCad: TDBEdit
        Left = 9
        Top = 59
        Width = 70
        Height = 21
        Hint = 'Data de cadastro'
        CharCase = ecUpperCase
        DataField = 'PMP_DATCAD'
        DataSource = DtSrc
        Enabled = False
        MaxLength = 8
        ParentShowHint = False
        ShowHint = True
        TabOrder = 4
      end
      object EdtEstSecCod: TDBEdit
        Left = 83
        Top = 59
        Width = 36
        Height = 21
        Hint = 'Informe o codigo da se'#231#227'o ou pressione enter para pesquisar'
        CharCase = ecUpperCase
        DataField = 'PMP_SECCOD'
        DataSource = DtSrc
        Enabled = False
        ParentShowHint = False
        ShowHint = True
        TabOrder = 5
        OnExit = EdtEstSecCodExit
      end
      object BtnSecao: TBitBtn
        Left = 118
        Top = 58
        Width = 22
        Height = 22
        Caption = '...'
        Enabled = False
        TabOrder = 6
        OnClick = BtnSecaoClick
      end
      object EdtEstSecNom: TEdit
        Left = 139
        Top = 60
        Width = 289
        Height = 19
        TabStop = False
        CharCase = ecUpperCase
        Color = clBtnFace
        Ctl3D = False
        ParentCtl3D = False
        ReadOnly = True
        TabOrder = 7
      end
      object EdtEstRefere: TDBEdit
        Left = 432
        Top = 59
        Width = 121
        Height = 21
        Hint = 'Referencia da mat'#233'ria prima'
        CharCase = ecUpperCase
        DataField = 'PMP_REFERE'
        DataSource = DtSrc
        Enabled = False
        ParentShowHint = False
        ShowHint = True
        TabOrder = 8
      end
      object EdtEstMarCod: TDBEdit
        Left = 10
        Top = 95
        Width = 121
        Height = 21
        Hint = 'Marca da Mat'#233'ria prima'
        CharCase = ecUpperCase
        DataField = 'PMP_MARCOD'
        DataSource = DtSrc
        Enabled = False
        ParentShowHint = False
        ShowHint = True
        TabOrder = 9
        OnExit = EdtEstMarCodExit
      end
      object BtnMarca: TBitBtn
        Left = 131
        Top = 95
        Width = 23
        Height = 22
        Caption = '...'
        Enabled = False
        TabOrder = 10
        OnClick = BtnMarcaClick
      end
      object EdtEstMarNom: TEdit
        Left = 153
        Top = 96
        Width = 400
        Height = 19
        TabStop = False
        CharCase = ecUpperCase
        Color = clBtnFace
        Ctl3D = False
        ParentCtl3D = False
        ReadOnly = True
        TabOrder = 11
      end
      object DBEdit3: TDBEdit
        Left = 9
        Top = 132
        Width = 111
        Height = 21
        Hint = 'P'#231'o de aquisi'#231#227'o da mat'#233'ria prima'
        DataField = 'PMP_PRECOM'
        DataSource = DtSrc
        Enabled = False
        ParentShowHint = False
        ShowHint = True
        TabOrder = 12
      end
      object DBEdit4: TDBEdit
        Left = 123
        Top = 132
        Width = 111
        Height = 21
        Hint = 'P'#231'o. de Custo da mat'#233'ria prima'
        DataField = 'PMP_PRECUS'
        DataSource = DtSrc
        Enabled = False
        ParentShowHint = False
        ShowHint = True
        TabOrder = 13
      end
      object RdgEstAtivo: TDBRadioGroup
        Left = 240
        Top = 121
        Width = 101
        Height = 33
        Caption = 'Ativo'
        Color = clBtnFace
        Columns = 2
        DataField = 'PMP_ATIVO'
        DataSource = DtSrc
        Enabled = False
        Items.Strings = (
          'Sim'
          'Nao')
        ParentColor = False
        TabOrder = 14
        TabStop = True
        Values.Strings = (
          'S'
          'N')
      end
      object GroupBox2: TGroupBox
        Left = 416
        Top = 120
        Width = 137
        Height = 43
        Caption = 'Saldo'
        Font.Charset = ANSI_CHARSET
        Font.Color = clWindowText
        Font.Height = -11
        Font.Name = 'MS Sans Serif'
        Font.Style = [fsBold]
        ParentFont = False
        TabOrder = 15
        object DBEdit1: TDBEdit
          Left = 8
          Top = 14
          Width = 121
          Height = 21
          DataField = 'PMP_SALDO'
          DataSource = DtSrc
          TabOrder = 0
        end
      end
      object GroupBox3: TGroupBox
        Left = 8
        Top = 162
        Width = 545
        Height = 73
        Caption = 'Observa'#231#245'es'
        TabOrder = 16
        object DBMemo1: TDBMemo
          Left = 5
          Top = 14
          Width = 534
          Height = 51
          DataField = 'PMP_OBSERVA'
          DataSource = DtSrc
          Enabled = False
          TabOrder = 0
        end
      end
    end
  end
  inherited DtSrc: TDataSource
    DataSet = SQLC_Produto_Materia_Prima
    Left = 88
    Top = 312
  end
  inherited DtSrcDBGrid: TDataSource
    Left = 216
    Top = 312
  end
  object SQLC_Produto_Materia_Prima: TSQLClientDataSet
    CommandText = 'select * from PRODUTO_MATERIA_PRIMA '#13#10'where pmp_codigo=:pcodigo;'
    Aggregates = <>
    Options = [poAllowCommandText]
    ObjectView = True
    Params = <
      item
        DataType = ftString
        Name = 'pcodigo'
        ParamType = ptInput
      end>
    DBConnection = DtmGeral.ConexaoBanco
    Left = 84
    Top = 366
    object SQLC_Produto_Materia_PrimaPMP_CODIGO: TStringField
      DisplayLabel = 'CODIGO'
      FieldName = 'PMP_CODIGO'
      Required = True
      Size = 13
    end
    object SQLC_Produto_Materia_PrimaPMP_DESCRI: TStringField
      DisplayLabel = 'DESCRICAO'
      FieldName = 'PMP_DESCRI'
      Required = True
      Size = 40
    end
    object SQLC_Produto_Materia_PrimaPMP_UNIDAD: TStringField
      DisplayLabel = 'UNIDADE'
      FieldName = 'PMP_UNIDAD'
      Required = True
      Size = 2
    end
    object SQLC_Produto_Materia_PrimaPMP_REFERE: TStringField
      DisplayLabel = 'REFERENCIA'
      FieldName = 'PMP_REFERE'
    end
    object SQLC_Produto_Materia_PrimaPMP_DATCAD: TDateField
      DisplayLabel = 'DATA CADASTRO'
      FieldName = 'PMP_DATCAD'
      Required = True
      EditMask = '!99/99/00;1;_'
    end
    object SQLC_Produto_Materia_PrimaPMP_ATIVO: TStringField
      DisplayLabel = 'ATIVO'
      FieldName = 'PMP_ATIVO'
      Required = True
      Size = 1
    end
    object SQLC_Produto_Materia_PrimaPMP_SECCOD: TStringField
      DisplayLabel = 'SE'#199#195'O'
      FieldName = 'PMP_SECCOD'
      Required = True
      Size = 3
    end
    object SQLC_Produto_Materia_PrimaPMP_MARCOD: TStringField
      DisplayLabel = 'MARCA'
      FieldName = 'PMP_MARCOD'
      Required = True
      Size = 15
    end
    object SQLC_Produto_Materia_PrimaPMP_PRECOM: TFMTBCDField
      DisplayLabel = 'P'#199'O.COMPRA'
      FieldName = 'PMP_PRECOM'
      Required = True
      DisplayFormat = '###,###,###.00'
      Precision = 15
      Size = 3
    end
    object SQLC_Produto_Materia_PrimaPMP_PRECUS: TFMTBCDField
      DisplayLabel = 'P'#199'O.CUSTO'
      FieldName = 'PMP_PRECUS'
      Required = True
      DisplayFormat = '###,###,###.00'
      Precision = 15
      Size = 3
    end
    object SQLC_Produto_Materia_PrimaPMP_OBSERVA: TMemoField
      DisplayLabel = 'OBSERVA'#199#213'ES'
      FieldName = 'PMP_OBSERVA'
      BlobType = ftMemo
      Size = 1
    end
    object SQLC_Produto_Materia_PrimaPMP_SALDO: TFMTBCDField
      DisplayLabel = 'SALDO'
      FieldName = 'PMP_SALDO'
      DisplayFormat = '###,###,###.00'
      Precision = 15
      Size = 3
    end
  end
end
